<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<script type="text/javascript" src="<c:url value="/static/js/jquery.js"/>"></script>
	<script type="text/javascript" src="<c:url value="/static/js/encrypt.js"/>"></script>
	<script type="text/javascript" src="<c:url value="/static/js/formview.js"/>"></script>
	<link rel="stylesheet" type="text/css" href="<c:url value="/static/css/css.css"/>"  />
	<script type="text/javascript" src="<c:url value="/static/layer/layer.js"/>"></script>
    <script type="text/javascript" src="<c:url value="/static/js/tool.js"/>" ></script>
  </head>
<body style="background:#fff">
<form id="form1">
<div class="notice_view_main">
   <div class="time" style="color:#000">
      <span name="type" uitype="text"></span>
      <span name="createDateTime" uitype="text" style="margin-left:26px;"></span>
   </div>
   <div class="note" name="note" uitype="text">
   </div>
   <div style="padding-top:20px;">
      回复：<input uitype="val" name="replyNote" type="text" id="txtReplyNote" style="width: 800px;">
   </div>
   <div>
      <input type="button" id="btnReply" class="btnblue" value="回复" />
   </div>
</div>
</form>
<script>
   $(function(){
       var formSetting = {po:'QhFeedback'};
       var form = new FormView("form1",formSetting);
       form.initwebview("${param.id}","QhFeedback");

       $("#btnReply").click(function(){
          $.getJSON(g_path+"/public/common/replyFeedback.htmls",{id:"${param.id}",replyNote:encodeURI($("#txtReplyNote").val())},function(data){
             layer.msg("回复成功！");
             setTimeout("location.href='/qh/public/common/r2.htmls?page=feedback/feedback_list'",2000);
          });
       });
   });
</script>
</body>
</html>
